import { post, get, uploadFile } from '@/api/request'
export default {
  login (data) {
    return post('/login', data)
  },
  index () {
    return get('/index', {})
  },
  getUser () {
    return get('/user/info', {})
  },
  collectAdd (data) {
    return post('/collectAdd', data)
  },
  collectSaveConfig (data) {
    return post('/collect/config/save', data)
  }
}